<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>{$meta_title}</title>
    <meta name="keywords" content="{$meta_keywords}" />
    <meta name="description" content="{$meta_description}" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="{HOME_THEME_PATH}css/bootstrap.min.css" rel="stylesheet" type="text/css" />
    <link href="{HOME_THEME_PATH}css/style.css" rel="stylesheet" type="text/css" />
    <link href="{HOME_THEME_PATH}css/jquery.bxslider.css" rel="stylesheet" />
    <script src="{HOME_THEME_PATH}js/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script src="{HOME_THEME_PATH}js/bootstrap.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="{HOME_THEME_PATH}js/hover-dropdown.js"></script>
    <script type="text/javascript" src="{HOME_THEME_PATH}js/jquery.bxslider.js"></script>
    <script type="text/javascript" src="{HOME_THEME_PATH}layer/layer.js"></script>
    <script>
        $(function(){
            $(".close").click(function(){
                $("#address").attr("value","");
            })
        })
    </script>

</head>
<body>
<div class="top hidden-xs">
    <div class="container">
        <div class="top-fl">Hi，欢迎来到{SITE_NAME}！</div>
        <div class="top-fr">客服热线：{$space.phone}</div>
    </div>
</div>
<header class="header-frontend">
    <div class="navbar navbar-default navbar-static-top">
        <div class="container">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="/"><img src="{$space.thumb}"/></a>
            </div>
            <div class="navbar-collapse collapse" style="height: 1px;">
                <ul class="nav navbar-nav">
                    <li class="{if $indexc}active{/if}"><a href="{SITE_URL}">首页</a></li>
                    {category module=share pid=0}
                    {if $t.child}
                    <li class="dropdown {if in_array($catid, $t.catids)}active{/if}">
                        <a href="{$t.url}" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-delay="0" data-close-others="false">{$t.name} <b class=" icon-angle-down"></b></a>
                        <ul class="dropdown-menu">
                            {category pid=$t.id return=t2}
                            <li lass="{if in_array($catid, $t2.catids)}active{/if}"><a href="{$t2.url}">{$t2.name}</a></li>
                            {/category}
                        </ul>
                    </li>
                    {else}
                    <li class="{if in_array($catid, $t.catids)}active{/if}"><a href="{$t.url}">{$t.name}</a></li>
                    {/if}
                    {/category}
                </ul>
            </div>
        </div>
    </div>
</header>
<!--图片轮播-->
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
    <ol class="carousel-indicators">
        {loop $space.banner $i $t}
        <li data-target="#carousel-example-generic" data-slide-to="{$i}" class="{if $i==0}active{/if}"></li>
        {/loop}
    </ol>
    <div class="carousel-inner" role="listbox">
        {loop $space.banner $i $t}
        <div class="item {if $i==0}active{/if}">
            <img src="{$t.file}" alt="{$t.title}">
        </div>
        {/loop}
    </div>
    <!-- Controls -->
    <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
        <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
    </a>
    <a class="right carousel-control" href="{HOME_THEME_PATH}#carousel-example-generic" role="button" data-slide="next">
        <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
    </a>
</div>